﻿<!--#include Virtual="../config.asp"-->
<!--#include Virtual="/public_sub.asp"-->
<!--#include Virtual="/public_ads.asp"-->
<%
var sqlprefix = "",
crumb = [], // 面包屑
page = t_cint(request("page")) || 1,
tag = request("tag").trim().FilterSpeChar(" "),
pagerecord = 50, // 每页记录数
hotcount = 15; // 热门排行取多少条记录

var Rs = ExecSqlByParm("exec fenye ?,?,?",["select id,class_urlid,title from news(nolock) where groupname='"+ tag +"' and class_urlid in('haibao','bizhi','cosplay','meinv','shouban','sige') and status>0 order by ordernum desc",page,pagerecord]); 
	Rs = Rs.NextRecordset;//分页返回的第一个表是空的，所以这里NextRecordset要多执行一次
	datacount = Rs2Json(Rs);
	pagecount = datacount[0].pagecount;//第二个表返回总页数
	rowscount = datacount[0].rowscount;//第二个表返回总记录数
	Rs = Rs.NextRecordset;
	data = Rs2Json(Rs);
	// WriteEnd(JSON.stringify(data));
// 获得漫画名

crumb.push({url:"./",title:tag});
crumb.push({url:"",title:"第"+page+"页"});
seo = {
	title : '', 
	key : '', 
	desc : ''
};
pagestr = '/news/shenma_tag/index.html?tag='+tag;
showTemplet(__config.templetpath+"shenma_tag.shtml");

CloseRs();
CloseConn();
%>